home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
101-125
/
scopedisk111
/
outliner
/
source
/
sure.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-19
|
895b
|
37 lines
AreYouSure(ReqWindow) /*Displays an ARE YOU SURE? requester and waits*/
struct Window *ReqWindow; /*for an OK or CANCEL. (Uses AutoRequest() )*/
{
struct IntuiText Body,Positive,Negative;
Body.FrontPen=2;
Body.BackPen=1;
Body.DrawMode=JAM1;
Body.LeftEdge=8;
Body.TopEdge=8;
Body.ITextFont=NULL;
Body.IText="Are you sure?";
Body.NextText=NULL;
Positive.FrontPen=2;
Positive.BackPen=1;
Positive.DrawMode=JAM1;
Positive.LeftEdge=6;
Positive.TopEdge=3;
Positive.ITextFont=NULL;
Positive.IText="OK";
Positive.NextText=NULL;
Negative.FrontPen=2;
Negative.BackPen=1;
Negative.DrawMode=JAM1;
Negative.LeftEdge=6;
Negative.TopEdge=3;
Negative.ITextFont=NULL;
Negative.IText="Cancel";
Negative.NextText=NULL;
return(AutoRequest(ReqWindow,&Body,&Positive,&Negative,NULL,NULL,
180,60));
}